package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.JiajiaOrder;
import com.ruoyi.system.domain.JiajiaUser;

import java.util.List;
import java.util.Map;

public interface ApiPayService {
    public AjaxResult xiaoChengXuPay( String orderSn,  String jsCode);
    public AjaxResult xiaoChengXuMallPay( String orderSn,  String jsCode);

    public AjaxResult xiaoChengXuProxyPay( String id, String jsCode);

    public AjaxResult proxyProfitSharingByImpl(String orderSn );

    public AjaxResult xiaoChengXuMallRefund( String orderSn,  String jsCode);

    public boolean isOrdinary(JiajiaUser user );
    public String profitSharingByProxy(String  openid,Integer amount,String transactionId, String orderSn);
    public AjaxResult xiaoChengXuPayChongZhi( String chongZhiSn,  String jsCode);

    public AjaxResult weiXinPay( String orderSn,String ip);

    public AjaxResult WxPayChongZhi( String chongZhiSn, String ip);

    public AjaxResult zhiFuBaoPay(String orderSn);

    public AjaxResult zhiFuBaoChongZhiPay(String chongZhiSn);

    /**
     *
     * @return
     */
    public String profitSharingAddReceiver(String openid);

    /**
     *
     * @param order
     * @param list
     * @return
     */
    public String profitSharing(JiajiaOrder order , List<Map<String,String>> list);


    public String profitsharingQuery(String orderSn );

    public String profitsharingReturn(String orderSn,String type );

    public String profitsharingReturnQuery(String orderSn );

    public AjaxResult withdrawal( Integer amount);
    public AjaxResult selectTransferAccounts( Long id);


}
